/**
 * 
 */
package it.fuesi.myseries.model;

import java.io.Serializable;

/**
 * @author fuesi
 *
 */
public class Episode implements Serializable{

	private static final long serialVersionUID = 1875653268700826286L;
	
	private int number;
	private String name;
	private Season season;
	
	
	
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public Season getSeason() {
		return season;
	}
	public void setSeason(Season season) {
		this.season = season;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	@Override
	public String toString() {
		return getSeason() + "x" + getNumber() + " - " + getName();
	}
	
	
}
